a last-minute hurry

Translations
спешка в последний момент
They finished the project in a last-minute hurry.
Они закончили проект в спешке в последний момент.
Definitions
A situation where someone is rushed to complete a task or make a decision just before a deadline or the end of a time period.